package com.info.zhiduoduo.repository.dto.crowdsource;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @program: zhiduoduo
 * @author: LiTong
 * @create: 2020-12-02 14:57
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@ToString
public class DetailedPersonnelListDto {
    @ApiModelProperty("id")
    private Integer id;

    @ApiModelProperty("支付凭证")
    private String payVoucher;

    @ApiModelProperty("交易id")
    private Integer batchId;

    @ApiModelProperty("商户批次号，全局唯一")
    private String batchNo;

    @ApiModelProperty("项目id")
    private Integer projectid;

    @ApiModelProperty("项目单条明细id")
    private Integer projectItemId;

    @ApiModelProperty("单条交易单号")
    private String tradeNo;

    @ApiModelProperty("第三方平台订单号")
    private String partnerOrderNo;

    @ApiModelProperty("交易金额")
    private BigDecimal tradeamount;

    @ApiModelProperty("收款账号")
    private String acctno;

    @ApiModelProperty("收款人户名")
    private String acctname;

    @ApiModelProperty("1:代表个人账户  2:代表企业账户")
    private Integer accttype;

    @ApiModelProperty("收款方开户行行号（电子联行号）对公需要校验，对私填写000000000000（12个0）")
    private String bankno;

    @ApiModelProperty("收款方开户行名称（企业账户精确到支行，比如中国工商银行上海市浦东大道支行）")
    private String bankname;

    @ApiModelProperty("用途")
    private String purpose;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("交易时间")
    private Date tradetime;

    @ApiModelProperty("是否已经重新提交交易 0：否 1：是")
    private Integer repay;

    @ApiModelProperty("1:批量代付方式 2：单笔代付")
    private Integer payType;

    @ApiModelProperty("订单状态(0：已创建，1：交易中 2：交易成功，3：交易失败，4：拒绝) (此字段用于判断业务执行状态)")
    private Integer status;

    @ApiModelProperty("响应码")
    private String errorCode;

    @ApiModelProperty("响应信息")
    private String errorMsg;

    @ApiModelProperty("交易结束时间")
    private Date finishtime;

    @ApiModelProperty("逻辑删除 0：正常 1：已删除")
    private Integer deleted;

    @ApiModelProperty("创建时间")
    private Date createtime;

    @ApiModelProperty("更新时间")
    private Date updatetime;

    @ApiModelProperty("操作员id ")
    private Integer adminid;
}
